package br.ucb.sispro.control;

import java.util.ResourceBundle;

public abstract class MessagesControl {
	private static ResourceBundle messages;
	public MessagesControl() {
		messages = ResourceBundle.getBundle("br/ucb/sispro/bundle/messages");
	}
	protected String getMessage(String typeMessage) { 
		return messages.getString("erro_" + typeMessage); 
	}
	public abstract void addMessage(String message);
}
